package com.loto.insurance.mis.web.enumeration;

public enum CustExtFromEnum {
  SEARCH_ENGINE("搜索引擎", 1), FRIENDS("朋友介绍", 2), COMMUNICATION("业务交流", 3), THIRD_PARTY(
	  "第三方媒体", 4), MARKET("宣传资料", 5), OTHERS("其它", 6);

  private String name;
  private int index;

  private CustExtFromEnum(String name, int index) {
	this.name = name;
	this.index = index;
  }

  public String getName() {
	return name;
  }

  public void setName(String name) {
	this.name = name;
  }

  public int getIndex() {
	return index;
  }

  public void setIndex(int index) {
	this.index = index;
  }

  @Override
  public String toString() {
	return this.name;
  }
}
